package com.fuyao.cloud.asset.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 借用状态枚举类
 *
 * @author lyhil
 */
public enum BorrowStatusEnum implements BaseEnum {

	/**
	 * 草稿
	 */
	EFFECT("0", "已生效"),
	/**
	 * 审批中
	 */
	APPROVE("1", "审批中"),
	/**
	 * 待签字
	 */
	TO_SIGN("3", "待签字"),
	/**
	 * 已驳回
	 */
	down("4", "已驳回");

	private String code;
	private String name;

	private BorrowStatusEnum(String code, String name) {
		this.code = code;
		this.name = name;
	}

	@Override
	public String getCode() {
		return this.code;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
